<template>
  <div>
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <van-swipe-item v-for="(image, index) in banderList" :key="index">
        <img v-lazy="image.url" style="width:100%;height:100%;" />
      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
import { ContactList } from 'vant';

export default {
  props:["banderList"],
  data() {
    return {
       images: [
        'https://img01.yzcdn.cn/vant/apple-1.jpg',
        'https://img01.yzcdn.cn/vant/apple-2.jpg',
      ],
    };
  },
  //生命周期 - 创建完成（访问当前this实例）
  created() {
    
  },
  methods: {
    
  },
};
</script>
<style scoped lang="less">
@import "../../assets/css/index.less";

.my-swipe .van-swipe-item {
  color: #fff;
  font-size: 20px;
  line-height: 150px;
  text-align: center;
  background-color: #39a9ed;
  height: 638 * @vw;
}
</style>